#ifndef _SOUND_CONFIG_H
#define _SOUND_CONFIG_H

#define SOUND_TXC 0
#define SOUND_RXC 1
#define REGS_SIZE 2
#define RING_READY 1

#define MBUF_SIZE 8192
#define RINGS_SIZE 256
#define SC_NODES_SIZE 32

#define SOUND_CARD_MEM_BASE 0x10000000
#define SOUND_CARD_MEM_LEN  0x500000

typedef struct desc{
  uint32 length;//Length of data
  uint32 offset;
  uint8 mbuf[MBUF_SIZE];
  short status;//Descriptor status
  short minor;//Descriptor of ID
} desc;

#endif
